import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/global.css'
import request from "./utils/request";
import VueParticles from 'vue-particles'
import axios from 'axios'
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
import VueAppend from 'vue-append'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

Vue.config.productionTip = false
Vue.use(ElementUI, {size: 'mini'})
Vue.use(VueParticles)
Vue.use(mavonEditor)
Vue.use(VueAppend)
Vue.prototype.request = request
Vue.prototype.axios = axios
// 解决访问新浪接口的跨域问题
// axios.defaults.baseURL = '/api'

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
